using MvcMall.Core.Commands;
using MvcMall.Core.Domains;
using MvcMall.Core.Enums;
using MvcMall.Framework.MvcPager;

namespace MvcMall.Core.Contacts.Tasks
{
    public interface IGoodsBrandTask
    {
        PagedList<GoodsBrand> GetPagedList(int pageIndex, int pageSize);
        PagedList<GoodsBrand> GetPagedList(int pageIndex, int pageSize, GoodsBrandStatus? status);
        GoodsBrand Get(int id);
        GoodsBrand Save(SaveGoodsBrandCommand cmd);
        bool Exists(string brandName);
        GoodsBrand ShenHe(string loginUser, int brandId);
        GoodsBrand Deny(string loginUser, int brandId);
        PagedList<GoodsBrand> GetPagedList(int pageIndex, int pageSize, string brandName, int? storeId,GoodsBrandStatus? status);
        GoodsBrand Apply(ApplyGoodsBrandCommand cmd);

    }
}